@baseColor:#e92322;
.wjs_header {
  height: 50px;
  line-height: 50px;
  border-bottom: 1px solid #ccc;
  .row {
    height: 100%;
    > div {
      text-align: center;
      &:nth-of-type(-n+3) {
        border-right: 1px solid #ccc;
      }
      .wjs_code {
        display: block;
        position: relative;
        &:hover {
          img {
            display: block;
          }
        }
        > img {
          border: 1px solid #ccc;
          display: none;
          position: absolute;
          left: 0;
          top: 49px;
          border-top: none;
        }
      }
      &:nth-last-of-type(1) {
        .btn-danger {
          background-color: @baseColor;
          border-color: @baseColor;
        }
        .btn {
          padding: 3px 15px;
        }
        .btn-link {
          color: #333;
          &:hover {
            text-decoration: none;
          }
        }
      }
    }
  }
}
/*导航条*/
.wjs_nav {
  margin-bottom: 0;
  .navbar-brand {
    height: 80px;
    line-height: 50px;
    >span{
      font-size: 40px;
      &:first-of-type{
        color: @baseColor;
      }
      &:last-of-type{
        color: #333;
      }
    }
  }
  .navbar-nav {
    >li {
      a {
        line-height: 50px;
        font-size: 16px;
      }
      a:hover,a:focus{
        color: #777;
        border-bottom: 3px solid @baseColor;
      }
    }
    >.active {
      a,a:hover,a:focus{
        background-color: transparent;
        border-bottom: 3px solid @baseColor;
      }
    }
  }
  .navbar-toggle {
    margin-top: 23px;
  }
}

/*
轮播图*/
.wjs_banner {/*移动端用图片来做自适应的轮播图*/
  .mobileImg{
    width: 100%;
    display: block;
    img{
      width: 100%;
      display: block;
    }
  }
  /*>768时用背景图来做轮播图*/
  .pcImg{
    display: block;
    height: 410px;
    width: 100%;
    background-position: center center;
    background-size: cover;
  }
}

/*信息块*/
.wjs_info {
  padding: 30px;
  .row{
    >div{
      margin-top: 20px;
      a:hover{
          color:@baseColor;
      }
      span{
        font-size: 30px;
      }
      h4{
        margin-top: 0;
      }
    }
  }
}

/*预约块*/
.wjs_reverse{
  height: 60px;
  line-height: 60px;
  overflow: hidden;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  .wjs_icon{
    font-size: 18px;
  }
  .left{
    .reverse_now{
      color:@baseColor;
      border-bottom: 1px dashed @baseColor;
    }
    a:first-of-type{
      &:hover{
        color:@baseColor
      }
    }
  }
  .right{
    a:hover{
      color:@baseColor
    }
  }
}

/*产品块*/
.wjs_product {
  padding: 20px;
  background-color: #eee;
  overflow: hidden;
  .nav-tabs{
    li{
      margin-bottom: 0;
      padding: 0 15px;
      a{
        border: none;
        border-radius: 0;
        line-height: 50px;
      }
      a:hover{
        background-color: transparent;
        border: 0;
        border-bottom: 3px solid @baseColor;
      }
    }
    li.active{
      a,a:focus,a:hover{
        background-color: transparent;
        border: 0;
        border-bottom: 3px solid @baseColor;
      }
    }
  }
  .product_box{
    font-size: 12px;
    margin-top: 20px;
    position: relative;
    .product_left{
      height: 150px;
      padding-top: 10px;
      margin-right: 100px;
      background-color: #fff;
      >p{
        text-align: center;
        font-size: 16px;
      }
      .row {
        >div:nth-of-type(even){
          text-align: right;
        }
        p{
          padding: 0 10px;
        }
      }
    }
    .product_right{
      width: 100px;
      height: 150px;
      background-color: #fff;
      padding-top: 30px;
      border-left: 1px dashed #ccc;
      text-align: center;
      position: absolute;
      right: 15px;
      top: 0;
      .wjs_tip{
        width: 100%;
        position: absolute;
        left: 50%;
        top: 20px;
        transform: translateX(-50%);
        span{
          font-size: 14px;
          cursor: pointer;
        }
        span:first-of-type{
          color: @baseColor;
          border: 1px solid @baseColor;
        }
        span:last-of-type{
          color:blue;
          border: 1px solid blue;
        }
      }
      b{
        font-size: 40px;
        color:@baseColor;
      }
      span{
        color:@baseColor;
      }
      &::before,&::after{
        content: '';
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #eee;
        position: absolute;
        left: -5px;
      }
      &::before{
        top: -5px;
      }
      &::after{
        bottom: -5px;
      }
    }
  }
  .product_box:first-of-type{
    .product_left,.product_right{
      background-color: @baseColor;
      color: #fff;
    }
    .product_left::before{
      content: '\e915';
      font-family: "wjs";
      position: absolute;
      left: 15px;
      top: -5px;
      font-size: 25px;
    }
    .product_right{
      span,b{
        color: #fff;
      }
    }
  }
}
.wjs_news{
  background-color: #fff;
  padding: 20px;
  h3{
    font-size: 25px;
    line-height: 50px;
    position: relative;
    text-align: center;
    border-bottom: 1px solid #ccc;
    .circle{
      display: block;
      width: 8px;
      height: 8px;
      border-radius: 4px;
      border: 1px  solid #ccc;
      position: absolute;
      right: -8px;
      bottom: -4px;
    }
  }
  .wjs_line {
    width: 1px;
    height: 100%;
    border-left: 1px dashed @baseColor;
    position: absolute;
    left: 45px;
    top: 0;
  }
  .nav-tabs{
    border-bottom: none;
    li{
      margin-bottom: 60px;
      &:nth-last-of-type(1){
        margin-bottom: 0;
      }
      a{
        display: block;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: #ccc;
        border: none;
        &:hover{
          background-color: @baseColor;
          border: none;
        }
      .wjs_icon{
        font-size: 30px;
        color: #fff;
      }
      }
      &.active{
        a,a:hover,a:focus{
          background-color: @baseColor;
          border: 0;
        }
      }
    }

  }
  .tab-content{
    ul{
      list-style: none;
      li{
        line-height: 60px;
      }
    }
  }
}
@media screen and (max-width: 768px) {
  .wjs_news .nav-tabs > li {
    margin: 20px 0px;
    width: 25%;
  }
}
@media screen and (min-width: 768px) and (max-width: 992px) {
  .wjs_news .nav-tabs > li {
    margin: 20px 30px;
  }
}
footer{
  padding: 20px;
  background-color: #eee;
  text-align: center;
  ul{
    margin: 0 auto;
    display: inline-block;
    list-style: none;
    li{
      float: left;
      margin-left: 20px;
      a{
        font-size: 80px;
      }
    }
  }
}
